//
//  LoggerService.swift
//  
//
//  Created by tank on 2023/8/23.
//

import Foundation
import Logging


public class LoggerService: LoggerServiceProtocol {
    var logger = Logger(label: "LoggerService")
    
    public init() {
    }
    
    public func log(level: Level, message: String) {
        logger.log(level: level.loggerLevel, Logger.Message(stringLiteral: message))
    }
}
